﻿Public Class BoKichDienDTO
    Private _MaBoKichDien As Integer
    Private _TenBoKichDien As String
    Private _HangSanXuat As String
    Private _MaLoai As Integer
    Private _DienApTai As Single
    Private _CongSuatTai As Single
    Private _Gia As Integer
    Private _TimKiem As BoKichDienDTO
    Private _DienApTaiMin As Single
    Private _DienApTaiMax As Single
    Private _CongSuatTaiMin As Single
    Private _CongSuatTaiMax As Single
    Private _GiaMin As Single
    Private _GiaMax As Single
    Public Property MaBoKichDien() As Integer
        Get
            Return _MaBoKichDien
        End Get
        Set(ByVal value As Integer)
            _MaBoKichDien = value
        End Set
    End Property

    Public Property TenBoKichDien() As String
        Get
            Return _TenBoKichDien
        End Get
        Set(ByVal value As String)
            _TenBoKichDien = value
        End Set
    End Property
    
    Public Property HangSanXuat() As String
        Get
            Return _HangSanXuat
        End Get
        Set(ByVal value As String)
            _HangSanXuat = value
        End Set
    End Property
   
    Public Property MaLoai() As Integer
        Get
            Return _MaLoai
        End Get
        Set(ByVal value As Integer)
            _MaLoai = value
        End Set
    End Property
    
    Public Property DienApTai() As Single
        Get
            Return _DienApTai
        End Get
        Set(ByVal value As Single)
            _DienApTai = value
        End Set
    End Property
    
    Public Property CongSuatTai() As Single
        Get
            Return _CongSuatTai
        End Get
        Set(ByVal value As Single)
            _CongSuatTai = value
        End Set
    End Property
    
    Public Property Gia() As Integer
        Get
            Return _Gia
        End Get
        Set(ByVal value As Integer)
            _Gia = value
        End Set
    End Property
    Public Property DienApTaiMin As Single
        Get
            Return _DienApTaiMin
        End Get
        Set(ByVal value As Single)
            _DienApTaiMin = value
        End Set
    End Property

    Public Property DienApTaiMax As Single
        Get
            Return _DienApTaiMax
        End Get
        Set(ByVal value As Single)
            _DienApTaiMax = value
        End Set
    End Property

    Public Property CongSuatTaiMin As Single
        Get
            Return _CongSuatTaiMin
        End Get
        Set(ByVal value As Single)
            _CongSuatTaiMin = value
        End Set
    End Property

    Public Property CongSuatTaiMax As Single
        Get
            Return _CongSuatTaiMax
        End Get
        Set(ByVal value As Single)
            _CongSuatTaiMax = value
        End Set
    End Property

    Public Property GiaMax As Single
        Get
            Return _GiaMax
        End Get
        Set(ByVal value As Single)
            _GiaMax = value
        End Set
    End Property

    Public Property GiaMin As Single
        Get
            Return _GiaMin
        End Get
        Set(ByVal value As Single)
            _GiaMin = value
        End Set
    End Property

    Public Sub New(ByVal MBKD As Integer, ByVal TBKD As String, ByVal ML As Integer, ByVal HS As String, ByVal DAT As Single, ByVal CST As Single, ByVal G As Integer)
        Me._MaBoKichDien = MBKD
        Me._TenBoKichDien = TBKD
        Me._MaLoai = ML
        Me._HangSanXuat = HS
        Me._DienApTai = DAT
        Me._CongSuatTai = CST
        Me._Gia = G
    End Sub
    Public Sub New(ByVal MAQ As Integer, ByVal TAQ As String, ByVal ML As Integer, ByVal HS As String, ByVal DATMin As Single, ByVal DATMax As Single, ByVal CSTMin As Single, ByVal CSTMax As Single, ByVal GMin As Integer, ByVal GMax As Integer)
        Me._MaBoKichDien = MAQ
        Me._TenBoKichDien = TAQ
        Me._MaLoai = ML
        Me._HangSanXuat = HS
        Me._DienApTaiMin = DATMin
        Me._DienApTaiMax = DATMax
        Me._CongSuatTaiMin = CSTMin
        Me._CongSuatTaiMax = CSTMax
        Me._GiaMin = GMin
        Me._GiaMax = GMax
    End Sub
End Class
